package com.platform.modules.quality.vo;


import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.entity.Attachment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "质量巡查问题列表", description = "质量巡查问题列表(含整改和复查信息)")
public class QlyInspectionItemListByAppVo{

	@ApiModelProperty(value = "项目ID")
	private String prjId;
	@ApiModelProperty(value = "巡查记录ID")
	private String insId;
	@ApiModelProperty(value = "整改期限")
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date reformExpirationDate;
	@ApiModelProperty(value = "问题状态：1待整改 | 2待复查 | 3已完成 |  4超期未整改")
    private String queStatus;
    
	@ApiModelProperty(value = "问题id")
	private String insItemId;
	@ApiModelProperty(value = "工区id")
	private String workAreaId;
	@ApiModelProperty(value = "工区名称")
	private String workAreaName;
	@ApiModelProperty(value = "工区负责人id")
	private String responsibleUserId;
	@ApiModelProperty(value = "工区负责人姓名")
	private String responsibleUserName;
	@ApiModelProperty(value = "检查部位")
	private String position;
	@ApiModelProperty(value = "问题类型")
	private String queType;
	@ApiModelProperty(value = "问题级别")
    private String queLevel;
	@ApiModelProperty(value = "问题描述")
    private String queDesc;
	@ApiModelProperty(value = "整改要求")
    private String zgyq;
	@ApiModelProperty(value = "巡查人")
    private String createUserId;
	
	

	@ApiModelProperty(value = "问题整改id")
	private String insItemReformId;
	@ApiModelProperty(value = "整改描述")
    private String reformDesc; 
	@ApiModelProperty(value = "整改日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
    private Date reformTime;
	@ApiModelProperty(value = "复查人id")
    private String reviewUserId;
	@ApiModelProperty(value = "复查人姓名")
    private String reviewUserName;
	@ApiModelProperty(value = "复查日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
    private Date reviewTime;
	@ApiModelProperty(value = "复查结果 0-不合格 1-合格")
    private String reviewStatus;
	@ApiModelProperty(value = "复查意见")
    private String reviewAdvise;   
	
	@ApiModelProperty(value = "问题图片列表")
    private List<Attachment> atts;   
	
	@ApiModelProperty(value = "整改图片列表")
    private List<Attachment> reformAtts;   

}
